﻿CREATE TABLE [ProductImage].[ProductImage]
(
	[TenantId] [uniqueidentifier] NOT NULL,
	[ImageId] [uniqueidentifier] NOT NULL,
	[CatalogId] [ProductImage].[TCatalogId] NOT NULL,
	[ProductId] [ProductImage].[TProductId] NOT NULL,
	[ViewId] [uniqueidentifier] NOT NULL,
	[DefaultAlternativeText] [ProductImage].[TProductImageAlternativeText] NULL,
	[DefaultUsagePermissionText] [ProductImage].[TProductImageUsagePermissionText] NULL,
	CONSTRAINT [PK_ProductImage] PRIMARY KEY CLUSTERED ([TenantId] ASC, [ImageId] ASC) ON [PRIMARY]
) ON [PRIMARY]
